﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="XZTrainListDetail.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.XZModel.XZTrainListDetail" %>
<%--部门对应的培训内容--%>
<div class="pageContent" style="border-bottom:1px #B8D0D6 solid;border-left:1px #B8D0D6 solid;border-right:1px #B8D0D6 solid" >
    <div class="panelBar">
        <ul class="toolBar">
              <% if (HasPower(IHISCETeim.Web.Permission.新增) && (TrainDept!="-1"))
              {%>
            <li><a class="add" href="XZModel/XZTrainAdd.aspx?TrainDept=<%=HttpContext.Current.Server.UrlEncode(TrainDept) %>" rel="XZTrainAdd" target="dialog" title="新增培训内容" max=false  mask=true  maxable=false  minable=false  resizable=false drawable=true  width="520" height="200" ><span>新增培训内容</span></a></li>
          <%} %>

           <% if (HasPower(IHISCETeim.Web.Permission.修改))
              {%>
            <li><a class="add" href="XZModel/XZTrainEdit.aspx?TrainId={sid_user}" rel="XZTrainEdit" target="dialog" title="修改培训内容" max=false  mask=true  maxable=false  minable=false  resizable=false drawable=true  width="520" height="200" ><span>修改培训内容</span></a></li>
          <%} %>

           <% if (HasPower(IHISCETeim.Web.Permission.删除))
               {%>
            <li><a class="delete" href="sysAjaxDone.ashx?ajaxmethod=deletexztrain&TrainId={sid_user}" target="ajaxTodo" title="确定要删除此培训内容吗?"><span>删除</span></a></li>
           <%} %>
        </ul>
    </div>
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="99%" layouth="62">
        <thead>
            <tr  >  
                <th >
                    培训内容
                </th>  
                <th width="120">
                    培训部门
                </th>      
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("TrainId") %>"> 
				<td><%# Eval("TrainContent")%></td>
                <td>
                    <%# Eval("TrainDept")%>
                </td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
    
</div>

